package 输出和输入;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class dd {
    public static void main(String[] args) {
        try {
            FileInputStream fis=new FileInputStream("F:/呵呵呵.txt");
            System.out.println(fis.available());
            int len=0;
            while ((len=fis.read())!=-1){
                char c=(char)len;
            }
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        } catch (IOException e) {
            e.printStackTrace();
        }

    }
}
